/*------------------------------------------------------------------------------------------------\
| Horrible X-Wing game by Steven Haber
| st_haber@hotmail.com
|
| xwing.h: contains includes and defines
\------------------------------------------------------------------------------------------------*/

#ifndef XWING_H
#define XWING_H

#include <SFML/Graphics.hpp>
#include <SFML/System.hpp>
#include <SFML/Audio.hpp>

#include <iostream>
#include <sstream>
#include <string>
#include <cmath>

#define SCREENX 800
#define SCREENY 600
#define VIDEOMODE Fullscreen	//Close or Fullscreen
#define FRAMERATE 200

#define STARTUPMENUTIME 2//(float)14.72
#define DEADTIME 5
#define CURSORSPACINGX 250
#define SELECTSOUNDS 3

#define MAXSCORE 9999999
#define MAXSCORESTRING "9999999"
#define SCOREDIGITS 7

#define STARS 100
#define STARVELOCITY 300

#define ENEMYVELOCITY 190
#define NUMBERENEMIES 15
#define TIEOFFSETX 23
#define TIEOFFSETY 3
#define HURTSOUNDSE 5
#define DIESOUNDS 3

#define INITIALSHIPSPACINGX 60
#define CRAFTVELOCITY 600
#define XWINGOFFSETX 1	//Pixel offset for layzar origin
#define XWINGOFFSETY 26
#define HURTSOUNDSP 5

#define LAYZARVELOCITY 800
#define LAYZARSPACING 0.2
#define LAYZARSOUNDSP 4
#define LAYZARSOUNDSE 6
#define NUMBERLAYZARS 15
#define LAYZARDAMAGE 5	//Friendly layzars

#define SFXVOLUME 100
#define MUSICVOLUME 78
#define PAUSEVOLUME 45

#define SQRT2 (float)1.414

enum sprites{STAR, XWING, XWING_BLUE, HEALTH_U, HEALTH_O, LAYZAR_R, LAYZAR_G, MENU, TIE, SPRITES};

#include "Ai.h"
#include "Craft.h"
#include "Entity.h"
#include "Health.h"
#include "Layzar.h"
#include "Menu.h"
#include "Score.h"
#include "Sound.h"
#include "Star.h"

#endif